<h1>Reporte Calculo Catrastal</h1>

<h4>DATOS CATASTRALES</h4>
<table>
    <tr>
        <td width="200"><label class="sr-only" for="exampleInputPassword2">Dueño: </label></td>
        <td ><label class="sr-only" for="exampleInputPassword2"><?php echo $result->dueno; ?></label></td>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Informe de Valuación N°: </label></td>
        <td ><label class="sr-only" for="exampleInputPassword2"><?php echo $result->informeValuacion; ?></label></td>

    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Barrio: </label></td>
        <td colspan="3"><label class="sr-only" for="exampleInputPassword2"><?php echo $result->barrio; ?></label></td>
    </tr>
    <tr>
        <td width="200"><label class="sr-only" for="exampleInputPassword2">Direccion Tradicional: </label></td>
        <td width="200"> <label class="sr-only" for="exampleInputPassword2"><?php echo $result->direccionTradicional; ?></label></td>
        <td width="200"><label class="sr-only" for="exampleInputPassword2">Edad de la Vivienda: </label></td>
        <td width="200"> <label class="sr-only" for="exampleInputPassword2"><?php echo $result->edad; ?> años</label></td>
    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Finca: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->numRegistro; ?></label></td>
        <td><label class="sr-only" for="exampleInputPassword2">Tomo: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->tomo; ?></label></td>
    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Folio: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->folio; ?></label></td>
        <td><label class="sr-only" for="exampleInputPassword2">Asiento: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->asiento; ?></label></td>
    </tr>

    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Número Catastral: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->numcatastral; ?></label></td>
        <td><label class="sr-only" for="exampleInputPassword2">Área Catastral: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->areaCatastral; ?> m<sup>2</sup></label></td>
    </tr>
</table>
<h4>DATOS PARA EL CALCULO CATASTRAL</h4>
<table>
    <tr>
        <td width="250"><label class="sr-only" for="exampleInputPassword2">Calidad: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->idCalidad; ?></label></td>
    </tr>
    <tr>
         <td><label class="sr-only" for="exampleInputPassword2">Clase: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->nameClase; ?></label></td>
    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Area de Construcci&oacute;n: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->areaConstruccion; ?> m<sup>2</sup></label></td>
           </tr>
    <tr>
        <td><label class="sr-only" for="exampleInputPassword2">Factor de forma de la estructura:</label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->nombreForma; ?></label></td>
    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Factor Nivel de Planta : </label></td>
        <td colspan="3"><label class="sr-only" for="exampleInputPassword2"><?php echo $result->nivelPlanta; ?></label></td>
    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Area Porche: </label></td>
        <td colspan="3"><label class="sr-only" for="exampleInputPassword2"><?php echo $result->areaPorche; ?> m<sup>2</sup></label></td>

    </tr>
   <!-- <tr>
        <td width="25%"> <label class="sr-only" for="exampleInputPassword2">  <input type="checkbox" checked> </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->dueno; ?></label></td>
     </tr>-->
    <tr>
        <td><label class="sr-only" for="exampleInputPassword2">Factor de forma de la estructura:</label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->nombreForma; ?></label></td>
    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Tipo Garaje: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->porche; ?></label></td>

    </tr>
    <tr>
        <td><label class="sr-only" for="exampleInputPassword2">Area Garaje: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->areaGaraje; ?> m<sup>2</sup></label></td>
    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Material Muro: </label></td>
        <td ><label class="sr-only" for="exampleInputPassword2"><?php echo $result->materialMuro; ?></label></td>

    </tr>
    <tr>
        <td><label class="sr-only" for="exampleInputPassword2">Alto de Muro: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->altoMuro; ?> m</label></td>
    </tr>
    <tr>
        <td><label class="sr-only" for="exampleInputPassword2">Longitud de Muro:</label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->largoMuro; ?> m</label></td>
    </tr>
    <tr>
        <td><label class="sr-only" for="exampleInputPassword2">Depreciación:</label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->dn; ?>%</label></td>
    </tr>
    <tr>
        <td><label class="sr-only" for="exampleInputPassword2">Vida Probable:</label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->vp; ?> años</label></td>
    </tr>
</table>

<h4>CALCULO CATASTRAL</h4>
<br>
<table  >
    <tr>
        <td width="600" align="left"><label class="sr-only" for="exampleInputPassword2">Cálculo del Costo Unitario Básico(CUB):  </label></td>
        <td width="20%" align="right"><label class="sr-only" for="exampleInputPassword2">C$ <?php echo number_format($result->cub,2,'.',','); ?></label></td>
    </tr>
    <tr>
        <td  width="80%" align="left"><label class="sr-only" for="exampleInputPassword2">Costo Total Porche(CTP): </label></td>
        <td align="right"><label class="sr-only" for="exampleInputPassword2"> C$ <?php echo number_format($result->ctp,2,'.',','); ?></label></td>
    </tr>
    <tr>
        <td width="80%"  align="left"><label class="sr-only" for="exampleInputPassword2">Costo Total Garaje(CTG): </label></td>
        <td align="right"><label class="sr-only" for="exampleInputPassword2">C$ <?php echo number_format($result->ctg,2,'.',','); ?></label></td>
    </tr>
<tr>
        <td  width="80%" align="left"><label class="sr-only" for="exampleInputPassword2">Costo Total Muro(CTM): </label></td>
        <td align="right"><label class="sr-only" for="exampleInputPassword2">C$ <?php echo number_format($result->ctm,2,'.',','); ?></label></td>
    </tr>
    <tr>
        <td width="80%"  align="left"><label class="sr-only" for="exampleInputPassword2">Costo Construcción Total(CCT): </label></td>
        <td align="right"><label class="sr-only" for="exampleInputPassword2">C$ <?php echo number_format($result->cct,2,'.',','); ?></label></td>
    </tr>

    <tr>
        <td width="80%"  align="left"><label class="sr-only" for="exampleInputPassword2"><b>Total Detalles Adicionales(TDA):</b> </label></td>
        <td align="right"><label class="sr-only" for="exampleInputPassword2"><b>C$ <?php echo number_format($result->tda,2,'.',','); ?></b></label></td>
    </tr>
 <tr>
     <td  width="80%"  align="left"><label class="sr-only" for="exampleInputPassword2"><b>Total Detalles Adicionales y Construcción(TDAC):     </b></label></td>
     <td  align="right"><label class="sr-only" for="exampleInputPassword2"><b>C$ <?php echo number_format($result->tdac,2,'.',','); ?></b></label></td>
    </tr>
 <tr>
     <td  width="80%" align="left"><label class="sr-only" for="exampleInputPassword2"><b>Costo Despreciado(CD):</b> </label></td>
     <td align="right"><label class="sr-only" for="exampleInputPassword2"><b>C$ <?php echo number_format($result->cd,2,'.',','); ?></b></label></td>
    </tr>
 <tr>
     <td width="80%"  align="left"><label class="sr-only" for="exampleInputPassword2"><b>Avaluo del Terreno(ADT):</b></label></td>
     <td align="right"><label class="sr-only" for="exampleInputPassword2"><b>C$ <?php echo number_format($result->adt,2,'.',','); ?></b></label></td>
    </tr>
 <tr>
     <td width="80%"  align="left"><label class="sr-only" for="exampleInputPassword2"><b>Costo Total Catastral Bien Inmueble:</b> </label></td>
     <td align="right"><label class="sr-only" for="exampleInputPassword2"><b>C$ <?php echo number_format($result->ctcbi,2,'.',','); ?></b></label></td>
 </tr>

 </table>
<!--
<table>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Costo Total Catastral Bien Inmueble: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->ctcbi; ?></label></td>
        <td><label class="sr-only" for="exampleInputPassword2">Costo Unitario Terreno(CUT): </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->cut; ?></label></td>

    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Vida Problable(VP): </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->vp; ?> Años</label></td>
        <td><label class="sr-only" for="exampleInputPassword2">Depreciación Normal(DN):</label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->dn; ?> %</label></td>
    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Total Detalles Adicionales(TDA): </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->tda; ?></label></td>
        <td><label class="sr-only" for="exampleInputPassword2">Total Detalles Adicionales y Construcción(TDAC):</label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo number_format($result->tdac,2,'.',','); ?></label></td>
    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Costo Despreciado(CD): </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->cd; ?></label></td>
        <td><label class="sr-only" for="exampleInputPassword2">Avaluo del Terreno(ADT):</label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->adt; ?></label></td>
    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Costo Construcción Total(CCT): </label></td>
        <td colspan="3"><label class="sr-only" for="exampleInputPassword2"><?php echo $result->cct; ?></label></td>
    </tr>

</table>

<h4>Cálculo del Costo Unitario Básico(CUB): <?php echo $result->cub; ?></h4>
<table>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Costo Basico Unitario de Estructura(CBUE): </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->cbue; ?></label></td>
        <td><label class="sr-only" for="exampleInputPassword2">Factor de Forma de la Estructura(FFE): </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->ffe; ?></label></td>
    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Factor de Area de la Estructura(FAE): </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->fae; ?></label></td>
        <td><label class="sr-only" for="exampleInputPassword2">Factor por Nivel de Planta(FNP): </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->fnp; ?></label></td>
    </tr>
</table>

<h4>Costo Total Porche(CTP): <?php echo number_format($result->ctp,2,'.',','); ?> </h4>
<table>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Clase: </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo $result->clasePorche; ?></label></td>
        <td><label class="sr-only" for="exampleInputPassword2">Factor Area de Porche(FAP): </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo number_format($result->fap,2,'.',',');  ?></label></td>
    </tr>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Costo Unitario Porche(CUP): </label></td>
        <td colspan="3" ><label class="sr-only" for="exampleInputPassword2"><?php echo number_format($result->cup,2,'.',',');  ?></label></td>
    </tr>
</table>


<h4>Costo Total Garaje(CTG): <?php echo number_format($result->ctg,2,'.',','); ?></h4>
<table>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Factor Area de Garaje(FAG): </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo number_format($result->fag,2,'.',','); ?></label></td>
        <td><label class="sr-only" for="exampleInputPassword2">Costo Unitario Porche(CUG): </label></td>
        <td><label class="sr-only" for="exampleInputPassword2"><?php echo number_format($result->cug,2,'.',','); ?></label></td>
    </tr>
</table>

<h4>Costo Total Muro(CTM): <?php echo number_format($result->ctm,2,'.',',');; ?></h4>
<table>
    <tr>
        <td width="25%"><label class="sr-only" for="exampleInputPassword2">Costo Unitario Muro(CUM): </label></td>
        <td colspan="3"><label class="sr-only" for="exampleInputPassword2"><?php echo number_format($result->cum,2,'.',',');; ?></label></td>
    </tr>
</table>

-->

